package com.cnc.common.web.vo;

import org.apache.commons.fileupload.FileItem;

import java.util.List;

/**
 * Created by c9131 on 2017-09-26.
 */
public class FileVo {

    public static final  String FileItemStr ="fileItem";
    public static final String FileItemsStr ="fileItems";

    private FileItem fileItem;
    private List<FileItem> fileItems;

    public FileItem getFileItem() {
        return fileItem;
    }

    public void setFileItem(FileItem fileItem) {
        this.fileItem = fileItem;
    }

    public List<FileItem> getFileItems() {
        return fileItems;
    }

    public void setFileItems(List<FileItem> fileItems) {
        this.fileItems = fileItems;
    }

    @Override
    public String toString() {
        return "FileVo{" +
                "fileItem=" + fileItem.getName() +
                ", fileItems=" + fileItems +
                '}';
    }
}
